@import '../../styles/default.scss';

.addressbook-page {
  display: -webkit-flex;
  display: flex;
  -webkit-flex-direction: column;
  flex-direction: column;
  height: 100vh;
  background-color: $color-bg-grey;
  .address-search-fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
  }
  
  .addressbook-list {
    height: calc(100% - 280px);
    background-color: $color-bg-grey;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 20px;
    .item-wrapper {
      margin-bottom: 15px;
    }
  }

  .button-fixed {
    background-color: $color-white;
    position: fixed;
    width: 100%;
    bottom: 0;
    left: 0;
    padding-bottom: constant(safe-area-inset-bottom);
    padding-bottom: env(safe-area-inset-bottom);
    .button-fixed-wrapper {
      height: 125px;
      padding: 24px 53px;
      box-sizing: border-box;
      border-radius: 34px;
      font-size: 28px;
    }
  }
}